package cn.com.hhrcw.params;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @description:
 * @author: Admin
 * @time: 2020/11/28 16:46
 */
@Data
public class MobileAdminParams {
    @NotBlank(message = "手机号不能为空！")
    @Pattern(regexp = "^1[0-9]{10}$",message = "手机号格式错误")
    private String mobile;
    @NotBlank(message = "密钥不能为空！")
    private String token;
    @NotBlank(message = "签名不能为空！")
    private String sign;
}
